package action.student;

import dao.Student;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class showAssignByClass extends HttpServlet {

    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        String class_id = request.getParameter("class_id");
        String acc_id = request.getParameter("acc_id");
        request.setAttribute("acc_id", acc_id);
        request.setAttribute("class_id", class_id);
        RequestDispatcher rd = request.getRequestDispatcher("student.jsp?page=listAssign");
        rd.forward(request, response);
    }
}
